import React from 'react'
import { useNavigate } from 'react-router-dom'
export default function ReplaceToLogin () {

  const navigate = useNavigate()
  navigate('/index')
  return (
    <div></div>
  )
}
